package tw.com.msig.spring.hibernate.entity;

import java.util.List;
import java.util.Set;


public class User {

	private Long id;
	
	private String account;
	
	private String name;
	
	private Set<Phone> phones;
	


	@Override
	public String toString() {
		return "User [id=" + id + ", account=" + account + ", name=" + name
				+ ", phones=" + phones + "]";
	}

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getAccount() {
		return account;
	}

	public void setAccount(String account) {
		this.account = account;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Set<Phone> getPhones() {
		return phones;
	}

	public void setPhones(Set<Phone> phones) {
		this.phones = phones;
	}

	
	
}
